<?php foreach($this->question_list as $key => $val) { ?>
<li>
	
    <div >
	<div><a href="mobile/question/<?php echo $val['question_id']; ?>" target="_blank"><span class="title"><?php echo $val['title']; ?></span></a><?php foreach ($val['topics'] AS $t_key => $t_val) { if ($t_key>2) { break; } ?><a href="mobile/topic/<?php echo $t_val['url_token']; ?>" class="tag"><?php echo $t_val['topic_title']; ?></a><?php } ?> </div>
	
    
     <div><?php if ($val['answer_count'] > 0) { ?><a href="mobile/people/<?php echo $val['url_token']; ?>" target="_blank"><img src="<?php echo get_avatar_url($val['answer']['user_info']['uid'], 'mid'); ?>" width="25" height="25" /></a><?php } else { ?><a href="mobile/people/<?php echo $val['user_info']['url_token']; ?>" target="_blank"><img src="<?php echo get_avatar_url($val['user_info']['uid'], 'mid'); ?>" width="25" height="25" /></a><?php }?></div>
	<div><a href="<?php if ($val['answer_count'] > 0) { ?>mobile/people/<?php echo $val['answer']['user_info']['url_token']; ?><?php } else { ?>mobile/people/<?php echo $val['user_info']['url_token']; ?><?php } ?>" target="_blank"><span class="name"><?php if ($val['answer_count'] > 0) { ?><?php echo $val['answer']['user_info']['user_name']; ?><?php } else { ?><?php echo $val['user_info']['user_name']; ?><?php } ?></span></a> <span class="time"><?php if ($val['answer_count'] > 0) { ?>回复了站点<?php } else { ?>发起了站点<?php } ?> • <?php echo $val['focus_count']; ?> 人关注 • <?php echo $val['view_count']; ?> 次浏览 • <?php if ($val['answer_count'] > 0) { ?><?php echo date_friendly($val['update_time']); ?><?php } else { ?><?php echo date_friendly($val['add_time']); ?><?php } ?></span>
   
    <div class="c"></div>
    
    </div>
    </div>
</li>
<?php } ?>